{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3cd0cccb",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "3619066f",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "today:\n",
      "1\n",
      "3-5 学术听说\n",
      "8-9 H5\n",
      "12-13 法语语言与艺术\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "print(\"today:\"),print(week_time)\n",
    "if week_time==0:\n",
    "    print(\"1-3 批判性阅读思辨\");print(\"4-5 羽毛球\");print(\"8-10 python\")\n",
    "elif week_time==1:\n",
    "    print(\"3-5 学术听说\");print(\"8-9 H5\");print(\"12-13 法语语言与艺术\");\n",
    "elif week_time==2:\n",
    "    print(\"3-5毛概理论\");\n",
    "elif week_time==3:\n",
    "    print(\"1-2 学术写作\");print(\"8-9 毛概实践\")\n",
    "elif week_time==4:\n",
    "    print(\"1-2 AI\");print(\"3-5 创业基础\");\n",
    "else:\n",
    "    print(\"周六、周日\");print(\"无课\");"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "e85bf3d8",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "________________________________________________________________________________________________________________________________________\n",
      "        时间         |        星期一         |        星期二         |        星期三         |        星期四         |        星期五         |\n",
      "________________________________________________________________________________________________________________________________________\n",
      "       第一节        |        英语批判性阅读        |                   |                 |        学术英语写作         |\n",
      "________________________________________________________________________________________________________________________________________\n",
      "       第二节        |        英语批判性阅读        |                   |                 |        学术英语写作         |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第三节        |       英语批判性阅读       |      学术英语听说      |        毛概         |                     |       创业基础        |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第四节        |         羽毛球         |      学术英语听说      |        毛概         |                  |       创业基础        \n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第五节        |         羽毛球         |      学术英语听说      |        毛概         |                  |       创业基础        \n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第六节        |       写作训练        |                        |                       |                       |                            |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第七节        |       写作训练        |                        |                       |                       |                            |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第八节        |    python语言     |    H5互动技术应用     |                       |       毛概        |                            |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第九节        |    python语言     |    H5互动技术应用     |                       |       毛概        |                            |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "       第十节        |    python语言     |                 |                       |                       |                            |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "      第十一节       |                     |                      |                       |                     |                            |\n",
      "____________________________________________________________________________________________________________________________________________\n",
      "      第十二节       |                     |       法语语言与文化        |                       |                     |                            |\n",
      "________________________________________________________________________________________________________________________________________\n",
      "      第十三节       |                     |       法语语言与文化        |                       |                     |                            |\n",
      "____________________________________________________________________________________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "print(\"_\"*136)\n",
    "print(\"{:^19}|{:^20}|{:^20}|{:^20}|{:^20}|{:^20}|\".format(\"时间\",\"星期一\",\"星期二\",\"星期三\",\"星期四\",\"星期五\"))\n",
    "print(\"_\"*136)\n",
    "print(\"{:^18}|{:^23}|{:^19}|{:^17}|{:^23}|\".format(\"第一节\",\"英语批判性阅读\",\"\",\"\",\"学术英语写作\",\"illustrator软件应用\"))\n",
    "print(\"_\"*136)\n",
    "print(\"{:^18}|{:^23}|{:^19}|{:^17}|{:^23}|\".format(\"第二节\",\"英语批判性阅读\",\"\",\"\",\"学术英语写作\",\"illustrator软件应用\"))\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^21}|{:^18}|{:^19}|{:^21}|{:^19}|\".format(\"第三节\",\"英语批判性阅读\",\"学术英语听说\",\"毛概\",\"\",\"创业基础\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^21}|{:^18}|{:^19}|{:^18}|{:^19}\" .format(\"第四节\",\"羽毛球\",\"学术英语听说\",\"毛概\",\"\",\"创业基础\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^21}|{:^18}|{:^19}|{:^18}|{:^19}\" .format(\"第五节\",\"羽毛球\",\"学术英语听说\",\"毛概\",\"\",\"创业基础\"))\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^19}|{:^24}|{:^23}|{:^23}|{:^28}|\".format(\"第六节\",\"写作训练\",\"\",\"\",\"\",\"\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^19}|{:^24}|{:^23}|{:^23}|{:^28}|\" .format(\"第七节\",\"写作训练\",\"\",\"\",\"\",\"\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^17}|{:^17}|{:^23}|{:^17}|{:^28}|\".format(\"第八节\",\"python语言\",\"H5互动技术应用\",\"\",\"毛概\",\"\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^17}|{:^17}|{:^23}|{:^17}|{:^28}|\" .format(\"第九节\",\"python语言\",\"H5互动技术应用\",\"\",\"毛概\",\"\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^18}|{:^17}|{:^17}|{:^23}|{:^23}|{:^28}|\" .format(\"第十节\",\"python语言\",\"\",\"\",\"\",\"\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^17}|{:^21}|{:^22}|{:^23}|{:^21}|{:^28}|\".format(\"第十一节\",\"\",\"\",\"\",\"\",\"\"))\n",
    "\n",
    "\n",
    "print(\"_\"*140)\n",
    "print(\"{:^17}|{:^21}|{:^22}|{:^23}|{:^21}|{:^28}|\".format(\"第十二节\",\"\",\"法语语言与文化\",\"\",\"\",\"\"))\n",
    "\n",
    "\n",
    "print(\"_\"*136)\n",
    "print(\"{:^17}|{:^21}|{:^22}|{:^23}|{:^21}|{:^28}|\" .format(\"第十三节\",\"\",\"法语语言与文化\",\"\",\"\",\"\"))\n",
    "\n",
    "print(\"_\"*140)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "42157d70",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a6d92e3c",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
